:root {
  --bg: #eef1f8;
  --surface: #ffffff;
  --surface-hover: #f7f9fa;
  --ink: #0f1419;
  --ink-secondary: #536471;
  --ink-muted: #8b98a5;
  --line: #eff3f4;
  --line-strong: #dfe6ee;
  --brand: #1d9bf0;
  --brand-hover: #1a8cd8;
  --brand-soft: #e8f5fd;
  --brand-deep: #1478f0;
  --accent-purple: #7c6cf0;
  --positive: #00ba7c;
  --positive-soft: #e6f9f1;
  --negative: #f4212e;
  --negative-soft: #fdecee;
  --radius: 20px;
  --radius-sm: 999px;
  --shadow: 0 8px 32px rgba(15, 20, 25, 0.06);
  --shadow-soft: 0 2px 12px rgba(15, 20, 25, 0.05);
  --nav-height: 60px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font: "DM Sans", var(--sans);
  --layout-nav-width: 240px;
  --layout-feed-width: 600px;
  --layout-aside-width: 350px;
  --layout-gap: 1.5rem;
  --layout-max-width: calc(
    var(--layout-nav-width) + var(--layout-feed-width) + var(--layout-aside-width) + 2 * var(--layout-gap)
  );
  --layout-browse-width: calc(
    var(--layout-feed-width) + var(--layout-gap) + var(--layout-aside-width)
  );
  --hero-bg-image: url("/static/hero.webp");
  --card-head-image: url("/static/card-head.webp");
  /* Legacy aliases */
  --feed-width: var(--layout-feed-width);
  --sidebar-width: var(--layout-aside-width);
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

button,
input {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
  background: none;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lucide {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  stroke: currentColor;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.icon--spin {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.topnav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--layout-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.topnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
}

.topnav__brand-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.topnav__brand-name {
  font-family: var(--brand-font);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  text-transform: lowercase;
}

.topnav__brand-name-accent {
  color: var(--brand);
}

.topnav__signup {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-shrink: 0;
}

.topnav__nav {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.topnav__nav-item,
.topnav__nav .side-nav__item {
  padding: 0.52rem 0.72rem;
  font-size: 0.82rem;
  gap: 0.45rem;
}

.topnav__nav-item .lucide,
.topnav__nav .side-nav__item .lucide {
  width: 1rem;
  height: 1rem;
}

.topnav__signup-field {
  position: relative;
  width: min(300px, 38vw);
}

.topnav__signup-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--ink-muted);
  pointer-events: none;
}

.topnav__signup-field input {
  width: 100%;
  padding: 0.52rem 0.85rem 0.52rem 2.2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
}

.topnav__signup-field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.topnav__signup-field input::placeholder {
  color: var(--ink-muted);
}

.topnav__signup-btn {
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.search-field {
  position: relative;
  flex: 1;
}

.search-field__icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  padding: 0.62rem 0.9rem 0.62rem 2.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
}

.search-field input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--brand);
}

.search-field input::placeholder {
  color: var(--ink-muted);
}

.btn-primary {
  padding: 0.62rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-hover);
}

.btn-secondary {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-hover);
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--layout-nav-width) minmax(0, 1fr);
  gap: var(--layout-gap);
  justify-content: center;
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1rem;
  align-items: start;
}

.app-shell--home .feed-column {
  max-width: none;
  gap: 1.35rem;
}

.app-shell--profile {
  grid-template-columns:
    var(--layout-nav-width)
    minmax(0, var(--layout-feed-width))
    minmax(0, var(--layout-aside-width));
}

.app-shell:not(.app-shell--profile) .sidebar--right {
  display: none;
}

.site-footer {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 1rem 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.site-footer .lucide {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--brand);
}

.sidebar--left {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
  align-self: start;
}

.side-nav {
  display: grid;
  gap: 0.35rem;
}

.side-nav__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink-secondary);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.side-nav__item .lucide {
  width: 1.15rem;
  height: 1.15rem;
}

.side-nav__item:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.side-nav__item--active {
  font-weight: 700;
  color: var(--brand-deep);
  background: linear-gradient(90deg, rgba(29, 155, 240, 0.14), rgba(124, 108, 240, 0.08));
  box-shadow: inset 0 0 0 1px rgba(29, 155, 240, 0.12);
}

.side-nav__item--active .lucide {
  color: var(--brand-deep);
}

.sidebar--right {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
  align-self: start;
}

.sidebar-stack {
  display: grid;
  gap: 0.85rem;
}

.widget-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.feed-column {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
  max-width: var(--layout-browse-width);
}

.app-shell--profile .feed-column {
  max-width: var(--layout-feed-width);
}

.card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background-color: #f8f9ff;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid rgba(223, 230, 238, 0.9);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  grid-template-rows: 1fr auto;
  gap: 1.25rem 1.25rem;
  row-gap: 1.5rem;
  align-items: stretch;
  min-height: 420px;
  padding: 2rem 2rem 2rem 2.25rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.32rem 0.72rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(29, 155, 240, 0.14);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__eyebrow .lucide {
  width: 0.85rem;
  height: 0.85rem;
}

.hero__title {
  margin: 0 0 0.85rem;
  max-width: 15.5em;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero__title-accent {
  display: inline;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(223, 230, 238, 0.95);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero__features .lucide {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--brand);
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  min-width: 0;
  padding-inline: 0.5rem;
  pointer-events: none;
  user-select: none;
}

.hero__brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.35rem 1.55rem 1.2rem;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.16) 100%
  );
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 10px 30px rgba(20, 120, 240, 0.07),
    0 2px 10px rgba(15, 20, 25, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(-9deg);
  transform-origin: center;
}

.hero__brand-card::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(124, 108, 240, 0.12) 0%,
    rgba(29, 155, 240, 0.05) 42%,
    transparent 72%
  );
  filter: blur(12px);
}

.hero__brand-mark {
  width: clamp(5rem, 9.5vw, 6.75rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(20, 120, 240, 0.12));
}

.hero__brand-name {
  font-size: clamp(1.2rem, 1.85vw, 1.55rem);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__brand-card {
    animation: hero-brand-float 7s ease-in-out infinite;
  }
}

@keyframes hero-brand-float {
  0%,
  100% {
    transform: rotate(-9deg) translateY(0);
  }

  50% {
    transform: rotate(-7.5deg) translateY(-5px);
  }
}

.hero-signup {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin: 0;
}

.hero-signup__panel {
  width: 100%;
  padding: 1rem 1.05rem 0.95rem;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 24px rgba(15, 20, 25, 0.05);
}

.hero-signup__row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  width: 100%;
}

.hero-signup__field {
  flex: 1;
  min-width: 0;
}

.hero-signup__field input {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-signup__btn {
  flex-shrink: 0;
  padding-inline: 1.15rem;
  background: linear-gradient(135deg, var(--brand-deep) 0%, #3b82f6 100%);
  box-shadow: 0 8px 20px rgba(20, 120, 240, 0.22);
}

.hero-signup__btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--brand-hover) 0%, #2563eb 100%);
}

.hero-signup__fine-print {
  margin: 0.65rem 0 0;
  color: var(--ink-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-signup__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.hero-signup__link:hover {
  color: var(--brand-hover);
}

.hero-success {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  padding: 1rem 0;
}

.hero-success__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand);
}

.hero-success h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-success p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.hero-success strong {
  color: var(--ink);
  font-weight: 600;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.alert--error {
  border: 1px solid #f5c2c7;
  background: var(--negative-soft);
  color: var(--negative);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 20, 25, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
}

.modal__card {
  position: relative;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(223, 230, 238, 0.95);
  background:
    radial-gradient(circle at top right, rgba(124, 108, 240, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.04);
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal__close:hover {
  background: rgba(15, 20, 25, 0.08);
  color: var(--ink);
}

.modal__close .lucide {
  width: 1rem;
  height: 1rem;
}

.modal__icon-wrap {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244, 33, 46, 0.1) 0%, rgba(244, 33, 46, 0.04) 100%);
  border: 1px solid rgba(244, 33, 46, 0.12);
}

.modal__icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--negative);
}

.modal__title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.modal__text {
  margin: 0 0 1.15rem;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.modal__action {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-deep) 0%, #3b82f6 100%);
}

.modal__action:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--brand-hover) 0%, #2563eb 100%);
}

body.modal-open {
  overflow: hidden;
}

.modal--glass .modal__backdrop {
  background: rgba(15, 20, 25, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal__card--glass {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.58) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 24px 60px rgba(15, 20, 25, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.modal__icon-wrap--glass {
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.16) 0%, rgba(124, 108, 240, 0.08) 100%);
  border: 1px solid rgba(29, 155, 240, 0.18);
}

.modal__icon--glass {
  color: var(--brand);
}

.modal__icon-wrap--warning {
  background: linear-gradient(135deg, rgba(244, 33, 46, 0.12) 0%, rgba(244, 33, 46, 0.04) 100%);
  border: 1px solid rgba(244, 33, 46, 0.16);
}

.modal__icon--warning {
  color: var(--negative);
}

.generation-modal__backdrop {
  pointer-events: none;
}

.generation-modal__card {
  text-align: center;
  padding: 1.65rem 1.5rem 1.45rem;
}

.generation-modal__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.16) 0%, rgba(124, 108, 240, 0.08) 100%);
  border: 1px solid rgba(29, 155, 240, 0.18);
}

.generation-modal__icon .icon {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--brand);
}

.generation-modal__domain {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.generation-modal__progress {
  width: 100%;
  height: 0.28rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(29, 155, 240, 0.12);
  overflow: hidden;
}

.generation-modal__progress-bar {
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, #7c6cf0 100%);
  animation: generation-progress 1.7s ease-in-out infinite;
}

@keyframes generation-progress {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

.loading-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
}

.loading-card .lucide {
  color: var(--brand);
}

.loading-card p {
  margin: 0;
  color: var(--ink-secondary);
}

.results {
  display: grid;
  gap: 1rem;
}

.home-samples {
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
}

.home-samples__title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-samples__title .lucide {
  width: 0.9rem;
  height: 0.9rem;
}

.home-samples__footer {
  margin: 0.15rem 0 0;
  text-align: center;
}

.home-samples__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.home-samples__view-all:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.home-samples__view-all .lucide {
  width: 1rem;
  height: 1rem;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.featured-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 155, 240, 0.28);
  box-shadow: var(--shadow);
}

.card-head {
  position: relative;
  flex-shrink: 0;
  height: 78px;
  overflow: hidden;
  background-color: var(--card-accent, var(--brand));
}

.card-head__mask {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}

.featured-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 1rem 1.1rem;
}

.featured-card__avatar {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin-top: -34px;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.featured-card__avatar img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  object-position: center;
}

.featured-card__name {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.featured-card__handle {
  margin: 0.18rem 0 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.site-category {
  display: inline-flex;
  align-items: center;
  margin: 0.45rem 0 0;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(29, 155, 240, 0.1);
  border: 1px solid rgba(29, 155, 240, 0.16);
  color: var(--brand-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post__author-line .site-category {
  margin-top: 0.2rem;
}

.featured-card__vibe {
  margin: 0.55rem 0 0;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.featured-card__tagline {
  margin: 0.65rem 0 0;
  color: var(--ink-secondary);
  font-size: 0.84rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  min-height: 2.45em;
}

.featured-card__domain {
  margin-top: 0.55rem;
  color: var(--card-accent, var(--brand));
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.featured-card__domain:hover {
  text-decoration: underline;
}

.featured-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.85rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.featured-card__link:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.featured-card__link .lucide {
  width: 0.95rem;
  height: 0.95rem;
}

.explore-view {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.feed-view {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.feed-view__intro {
  padding: 1.35rem 1.45rem 1.2rem;
  border-color: #cfe8ff;
  background:
    radial-gradient(circle at top right, rgba(29, 155, 240, 0.08), transparent 42%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.feed-view__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

.feed-view__eyebrow .lucide {
  width: 0.95rem;
  height: 0.95rem;
}

.feed-view__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feed-view__lead {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  font-size: 0.92rem;
}

.feed-loading,
.feed-empty {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.feed-empty .lucide {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
}

.feed-empty h3 {
  margin: 0;
  font-size: 1.05rem;
}

.feed-empty p {
  margin: 0;
  max-width: 24rem;
  color: var(--ink-secondary);
  font-size: 0.9rem;
}

.feed-post {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feed-post:hover {
  border-color: rgba(29, 155, 240, 0.28);
  box-shadow: var(--shadow-soft);
}

.about-view {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.about-card {
  padding: 1.5rem 1.55rem 1.4rem;
  border-color: #cfe8ff;
  background:
    radial-gradient(circle at top right, rgba(29, 155, 240, 0.1), transparent 42%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.about-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

.about-card__eyebrow .lucide {
  width: 0.95rem;
  height: 0.95rem;
}

.about-card__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-card__lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.about-card__sections {
  display: grid;
  gap: 1rem;
}

.about-card__section h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.about-card__section h2 .lucide {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
}

.about-card__section p {
  margin: 0;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.about-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.about-card__linkedin:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.08);
}

.about-card__linkedin-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.explore-loading {
  display: block;
}

.explore-empty {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--ink-secondary);
}

.explore-empty .lucide {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand);
}

.explore-empty h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.explore-empty p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
}

.explore-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}

.explore-pagination__label {
  color: var(--ink-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 7rem;
  text-align: center;
}

.profile-card {
  overflow: hidden;
}

.profile-cover {
  height: 148px;
  background: #667eea;
}

.profile-card__body {
  padding: 0 1.15rem 1.15rem;
}

.profile-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-top: -42px;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
}

.profile-avatar__img,
.profile-avatar__fallback {
  grid-area: 1 / 1;
}

.profile-avatar__img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  object-position: center;
}

.profile-avatar__img--favicon {
  width: 82%;
  height: 82%;
}

.profile-avatar__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #89cff0, #1d9bf0);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.35rem;
  border-radius: calc(var(--radius-sm) + 2px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 230, 238, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.profile-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.48rem 0.82rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.profile-action-btn .lucide {
  width: 0.92rem;
  height: 0.92rem;
  flex-shrink: 0;
}

.profile-action-btn:hover:not(:disabled) {
  background: rgba(15, 20, 25, 0.04);
  color: var(--ink);
}

.profile-action-btn--primary {
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.12) 0%, rgba(124, 108, 240, 0.08) 100%);
  color: var(--brand-deep);
}

.profile-action-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.18) 0%, rgba(124, 108, 240, 0.12) 100%);
  color: var(--brand-deep);
}

.profile-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.profile-explore-status {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 100%;
  margin: 0.55rem 0 0.75rem;
  padding: 0.55rem 0.72rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(232, 245, 253, 0.72);
  border: 1px solid rgba(29, 155, 240, 0.12);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  line-height: 1.45;
}

.claim-explore-card {
  margin: 0.75rem 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, rgba(232, 245, 253, 0.95) 0%, rgba(240, 249, 255, 0.92) 100%);
  border: 1px solid rgba(29, 155, 240, 0.18);
}

.claim-explore-card__header {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.claim-explore-card__header i {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.claim-explore-card__header h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.claim-explore-card__header p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

.claim-explore-form__row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.claim-email-field {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  gap: 0;
}

.claim-email-field input {
  flex: 1 1 auto;
  min-width: 3rem;
  padding: 0.62rem 0.1rem 0.62rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: right;
}

.claim-email-field input:focus {
  outline: none;
}

.claim-email-field__suffix {
  flex: 0 0 auto;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  white-space: nowrap;
  user-select: none;
}

.claim-explore-status {
  margin: 0.65rem 0 0;
  color: var(--ink-secondary);
  font-size: 0.78rem;
  line-height: 1.45;
}

.claim-explore-success {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.claim-explore-success__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
}

.claim-explore-success__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.claim-explore-success__text {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.claim-explore-success__text strong {
  color: var(--ink);
  font-weight: 600;
}

.profile-identity {
  margin-top: 0.75rem;
}

.profile-identity h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.profile-handle {
  margin: 0.15rem 0 0;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.profile-meta {
  margin: 0.35rem 0 0;
  color: var(--ink-secondary);
}

.profile-vibe {
  display: inline-block;
  margin: 0.55rem 0 0;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-bio {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.profile-status {
  margin: 0.65rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink-secondary);
  font-size: 0.92rem;
}

.profile-source {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.source-favicon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--bg);
}

.profile-source__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.profile-source__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}

.profile-source__link:hover {
  text-decoration: underline;
}

.profile-source__link .lucide {
  width: 0.85rem;
  height: 0.85rem;
}

.profile-details {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.profile-details__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.profile-details__title .lucide {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
}

.profile-fun-bits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.profile-fun-bits__item {
  min-width: 0;
}

.profile-fun-bits__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.profile-fun-bits__value {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: anywhere;
}

.profile-fun-bits__value--emoji {
  font-size: 1.15rem;
  line-height: 1.2;
}

.phone-battery {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #34c759;
}

.phone-battery__icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.phone-battery__shell {
  position: relative;
  width: 28px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 3.5px;
  padding: 1.5px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.65);
}

.phone-battery__fill {
  height: 100%;
  max-width: 100%;
  border-radius: 1.5px;
  background: currentColor;
}

.phone-battery__cap {
  width: 2px;
  height: 5px;
  margin-left: 1px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  opacity: 0.75;
}

.phone-battery__pct {
  font-size: 0.84rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: currentColor;
}

.phone-battery--compact {
  gap: 0.25rem;
}

.phone-battery--compact .phone-battery__shell {
  width: 22px;
  height: 11px;
  padding: 1px;
}

.phone-battery--compact .phone-battery__cap {
  width: 1.5px;
  height: 4px;
}

.phone-battery--compact .phone-battery__pct {
  font-size: 0.72rem;
  font-weight: 600;
}

.phone-battery--high {
  color: #34c759;
}

.phone-battery--mid {
  color: #ff9f0a;
}

.phone-battery--mid .phone-battery__shell {
  background: rgba(255, 159, 10, 0.08);
}

.phone-battery--low {
  color: #ff3b30;
}

.phone-battery--low .phone-battery__shell {
  background: rgba(255, 59, 48, 0.08);
}

.profile-setting {
  margin: 0.65rem 0 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.profile-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.profile-tabs__tab {
  flex: 1;
  padding: 0.95rem 1rem;
  border-bottom: 2px solid transparent;
  color: var(--ink-secondary);
  font-weight: 600;
}

.profile-tabs__tab:hover {
  background: var(--surface-hover);
}

.profile-tabs__tab--active {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.feed-stream {
  display: grid;
  gap: 1rem;
}

.social-posts-feed {
  display: grid;
  gap: 1rem;
}

.post {
  padding: 0.95rem 1.05rem 0.75rem;
}

.post__header {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.post-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #89cff0, #1d9bf0);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-avatar--logo {
  background: #fff;
  border: 1px solid var(--line-strong);
}

.post__header strong {
  display: inline;
  font-size: 0.95rem;
}

.post__author-line {
  flex: 1;
  min-width: 0;
}

.post__names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
}

.post__handle,
.post__time {
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.post__dot {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.post__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.post__platform .lucide {
  width: 0.8rem;
  height: 0.8rem;
}

.post__site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.post__site-link:hover {
  text-decoration: underline;
}

.post--social .post__content {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.post-hashtag {
  color: var(--brand);
  font-weight: 500;
}

.post__emoji-reaction {
  margin: 0.65rem 0 0;
  font-size: 1.35rem;
  line-height: 1;
}

.post__engagement {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.55rem 0 0 3.05rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.widget--message {
  padding: 0 1rem 0.95rem;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-color: #cfe8ff;
  overflow: hidden;
}

.widget--message .widget__title {
  margin-top: 0;
}

.widget--message .widget__title .lucide {
  color: #007aff;
}

.imessage-thread {
  display: grid;
  gap: 0.45rem;
}

.imessage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.imessage-battery {
  flex-shrink: 0;
}

.imessage-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.imessage-meta .lucide {
  width: 0.85rem;
  height: 0.85rem;
}

.imessage-bubble {
  position: relative;
  max-width: 92%;
  margin-left: auto;
  padding: 0.7rem 0.85rem;
  border-radius: 18px 18px 4px 18px;
  background: #007aff;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.imessage-bubble p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.imessage-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.imessage-status .lucide {
  width: 0.85rem;
  height: 0.85rem;
  color: #007aff;
}

.post__meta {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.post__body {
  padding-left: 3.05rem;
}

.post__content {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.post__actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.85rem;
  padding-left: 3.05rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.post-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.post-action .lucide {
  width: 1rem;
  height: 1rem;
}

.detail-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.detail-grid dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.detail-grid dd {
  margin: 0.15rem 0 0;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.widget {
  padding: 0.95rem 1rem;
}

.widget__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.widget__title .lucide {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--brand);
}

.widget__copy {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.widget-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-list li:first-child {
  padding-top: 0;
}

.widget-list .lucide {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.debug-card {
  padding: 0.85rem 1rem;
}

.debug-card__summary {
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.debug-card pre {
  margin: 0.75rem 0 0;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--bg);
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink-secondary);
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .app-shell--profile {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 0.65rem;
  }

  .app-shell--profile .feed-column {
    max-width: 100%;
    gap: 0.65rem;
  }

  .app-shell--profile .profile-card,
  .app-shell--profile .post,
  .app-shell--profile .social-posts-feed .post {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .app-shell--profile .sidebar--right {
    position: static;
    padding: 0;
  }

  .app-shell--profile .sidebar-stack .card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 960px) {
  .sidebar--left {
    display: none;
  }

  .topnav__signup {
    display: none;
  }

  .topnav__nav {
    display: flex;
  }

  .app-shell:not(.app-shell--profile) {
    padding: 1rem 1rem 0.75rem;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .app-shell--profile {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .sidebar--right {
    position: static;
  }

  .app-shell:not(.app-shell--profile) .sidebar--right {
    display: none;
  }

  .widget-row {
    grid-template-columns: 1fr;
  }

  .hero {
    border-radius: calc(var(--radius) - 2px);
    background-size: 100% auto;
    background-position: center top;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    padding: calc(36vw + 1rem) 1.15rem 1.25rem;
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__brand {
    display: none;
  }

  .hero-signup {
    grid-column: 1;
    grid-row: 2;
  }

  .hero__title {
    max-width: none;
  }

  .featured-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topnav__brand-name {
    display: inline;
  }
}

@media (max-width: 640px) {
  .topnav__nav .side-nav__item {
    padding: 0.48rem 0.58rem;
  }

  .topnav__nav .side-nav__item span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero__inner {
    padding-top: calc(40vw + 0.85rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-signup__row {
    flex-direction: column;
  }

  .hero-signup__btn {
    width: 100%;
    justify-content: center;
  }

  .featured-cards {
    grid-template-columns: 1fr;
  }

  .profile-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-actions {
    width: 100%;
    justify-content: stretch;
  }

  .profile-action-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .profile-fun-bits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post__body,
  .post__actions,
  .post__engagement {
    padding-left: 0;
  }
}
