:root {
  color-scheme: light;
  font-family: PostBridge, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #333c4d;
  --base: #ffffff;
  --base-2: #f4f4ef;
  --base-3: #e9e8df;
  --content: #333c4d;
  --muted: rgba(51, 60, 77, 0.66);
  --soft: rgba(51, 60, 77, 0.08);
  --primary: #66cc8a;
  --primary-dark: #184f2c;
  --primary-glow: rgba(102, 204, 138, 0.38);
  --line: #deded3;
  --shadow: 0 16px 42px rgba(51, 60, 77, 0.08);
}

@font-face {
  font-family: PostBridge;
  src: url("https://www.post-bridge.com/_next/static/media/636a5ac981f94f8b-s.p.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--base);
  color: var(--content);
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.15rem 1.5rem 0;
  background: transparent;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.045em;
}

.brand-mark {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.62rem;
}

.nav-links {
  gap: 1.35rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--content);
}

.shell {
  display: grid;
  gap: 0;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.hero {
  display: grid;
  justify-items: center;
  padding: clamp(1rem, 4vw, 3rem) 1rem 1.2rem;
  text-align: center;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.35rem, 1.4vw, 0.75rem);
  margin-bottom: 1.9rem;
}

.platform-strip img {
  width: clamp(1.7rem, 4vw, 2.1rem);
  height: clamp(1.7rem, 4vw, 2.1rem);
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.platform-strip img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  color: #333c4d;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.35rem, 6.4vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  text-wrap: balance;
  word-spacing: 0.08em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 4.4vw, 3.45rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.4rem;
  letter-spacing: -0.035em;
}

.intro {
  max-width: 48rem;
  margin-bottom: 1.35rem;
  color: rgba(51, 60, 77, 0.82);
  font-size: clamp(1.12rem, 2.2vw, 1.7rem);
  font-weight: 650;
  line-height: 1.35;
  text-wrap: balance;
  word-spacing: 0.07em;
}

.support-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.85rem;
  color: rgba(51, 60, 77, 0.72);
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.52;
  text-wrap: balance;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(calc(100vw - 2rem), 34rem);
  padding: 0.9rem;
  border: 1px solid rgba(51, 60, 77, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 54px rgba(51, 60, 77, 0.16);
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 550;
  line-height: 1.4;
}

.cookie-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.45rem;
}

.frank-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #333c4d;
  font-weight: 850;
  text-decoration: none;
}

.frank-link img {
  width: clamp(2rem, 4vw, 2.55rem);
  height: clamp(2rem, 4vw, 2.55rem);
  border: 3px solid rgba(51, 60, 77, 0.14);
  border-radius: 999px;
  object-fit: cover;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.frank-link:hover img {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(102, 204, 138, 0.18);
  transform: translateY(-1px) scale(1.04);
}

.frank-link:hover span {
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.18em;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.secondary-actions,
.demo-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.02);
}

.primary {
  background: var(--primary);
  color: #333c4d;
  box-shadow: 0 14px 32px rgba(102, 204, 138, 0.28);
}

.button.primary::after {
  content: "→";
  margin-left: 0.45rem;
}

.button.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
  color: #ffffff;
}

.button.tiktok {
  background: linear-gradient(135deg, #25f4ee, #111111 48%, #fe2c55);
  color: #ffffff;
}

.secondary,
.mini,
.shared-kit-create-own {
  background: var(--content);
  color: var(--base);
  font-size: 0.74rem;
  font-weight: 850;
  box-shadow: none;
}

.ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--content);
}

.hero-ghost {
  background: var(--base);
}

.mini {
  min-height: 2.15rem;
  padding: 0.52rem 0.78rem;
}

.agent-link {
  margin: 0.85rem 0 0;
  color: rgba(51, 60, 77, 0.48);
  font-size: 0.92rem;
}

.agent-link a {
  font-weight: 850;
  text-decoration: none;
}

.hero-secondary {
  margin-top: 1rem;
}

.customer-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.1rem;
  color: rgba(51, 60, 77, 0.75);
}

.customer-proof p {
  margin-bottom: 0;
}

.customer-proof strong {
  color: #333c4d;
}

.avatar-group {
  display: flex;
  padding-left: 0.8rem;
}

.avatar-group img {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-left: -0.8rem;
  border: 3px solid #ffffff;
  border-radius: 999px;
  object-fit: cover;
}

.demo-showcase {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 1.15rem auto 2rem;
}

.demo-concept {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 0.8rem;
}

.demo-frame {
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 4px solid #15181d;
  border-radius: 0.9rem;
  background: #15181d;
  box-shadow: 0 30px 90px rgba(51, 60, 77, 0.2);
}

.browser-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.25rem;
  padding: 0.65rem 0.8rem;
}

.browser-bar span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.45;
}

.browser-bar small {
  position: absolute;
  left: 50%;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
  font-weight: 750;
  transform: translateX(-50%);
}

.example-kit-preview {
  width: 100%;
  height: min(22rem, 32vh);
  min-height: 14rem;
  overflow: auto;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 12% 4%, var(--primary-glow), transparent 22rem),
    var(--base);
  color: var(--content);
  scrollbar-color: color-mix(in srgb, var(--content) 24%, transparent) transparent;
}

.example-kit-loading {
  display: grid;
  min-height: 36rem;
  margin: 0;
  place-items: center;
  color: var(--muted);
  font-weight: 750;
}

.landing-example-header {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem;
  background: color-mix(in srgb, var(--base) 92%, transparent);
  backdrop-filter: blur(12px);
}

.landing-example-shell {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.landing-example-shell .shared-kit-intro {
  padding-top: 0.5rem;
}

.example-kit-preview .profile-jump-nav span,
.example-kit-preview .creator-social-links > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-weight: 850;
}

.example-kit-preview .profile-jump-nav span {
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  padding: 0.2rem 0.48rem;
  background: var(--base);
  color: var(--primary-dark);
  font-size: 0.7rem;
}

.example-kit-preview .creator-social-links > span {
  border: 1px solid var(--line);
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  color: #333c4d;
  font-size: 0.72rem;
}

.example-kit-preview .creator-social-links img {
  width: 1rem;
  height: 1rem;
}

.example-kit-preview .featured-content-card {
  cursor: default;
}

.example-kit-preview .featured-content-card:hover {
  box-shadow: var(--shadow);
  transform: none;
}

.account-card,
.panel,
.note-card,
.feature-visual {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--base);
}

.featured-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin: 0 -1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 1.25rem;
  color: rgba(51, 60, 77, 0.42);
}

.featured-strip span {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-strip strong {
  color: #333c4d;
  filter: grayscale(1);
  opacity: 0.45;
}

.how-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  scroll-margin-top: 2rem;
}

.how-heading {
  max-width: 48rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

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

.how-card {
  display: flex;
  min-width: 0;
  min-height: 34rem;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: linear-gradient(155deg, #ffffff 45%, #f4f8f0);
}

.step-number {
  width: fit-content;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  background: var(--primary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.how-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.how-card > p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.infochart {
  overflow: hidden;
  min-height: 15rem;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(51, 60, 77, 0.08);
}

.social-chart {
  display: grid;
  align-content: center;
  gap: 0.65rem;
}

.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-label strong {
  font-size: 0.9rem;
}

.metric-bar {
  height: 0.55rem;
  overflow: hidden;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  background: var(--soft);
}

.metric-bar i {
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transform-origin: left;
  animation: metric-grow 7s ease-in-out infinite alternate;
}

.metric-bar:nth-of-type(4) i {
  animation-delay: 180ms;
}

.metric-bar:nth-of-type(6) i {
  animation-delay: 360ms;
}

.kit-chart {
  animation: kit-float 7s ease-in-out infinite;
}

.kit-toolbar {
  display: flex;
  gap: 0.3rem;
  margin: -0.2rem 0 1.2rem;
}

.kit-toolbar i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--line);
}

.kit-profile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.kit-profile > span {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--content), var(--primary));
}

.kit-profile div {
  display: grid;
  width: 100%;
  gap: 0.4rem;
}

.kit-profile i,
.kit-option > i {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--soft);
}

.kit-profile i:first-child {
  width: 55%;
  background: rgba(51, 60, 77, 0.26);
}

.kit-profile i:last-child {
  width: 78%;
}

.kit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.kit-stats span {
  height: 3rem;
  border-radius: 0.65rem;
  background: #ecf9ef;
  animation: kit-highlight 5s ease-in-out infinite alternate;
}

.kit-stats span:nth-child(2) {
  animation-delay: 200ms;
}

.kit-stats span:nth-child(3) {
  animation-delay: 400ms;
}

.kit-option {
  display: grid;
  grid-template-columns: 0.7rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 0.65rem 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.kit-option > i {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--primary);
}

.kit-option b {
  width: 1.7rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: inset -0.75rem 0 #ffffff;
}

.deal-chart {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.deal-notice,
.deal-result {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.deal-notice {
  border-radius: 0.75rem;
  padding: 0.7rem;
  background: #ecf9ef;
  color: #277a42;
  font-size: 0.72rem;
  font-weight: 900;
  animation: notice-pulse 6s ease-in-out infinite;
}

.deal-notice i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(102, 204, 138, 0.2);
}

.deal-notice small {
  margin-left: auto;
  color: var(--muted);
}

.deal-bars {
  display: flex;
  height: 7rem;
  align-items: end;
  justify-content: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.deal-bars i {
  width: 12%;
  height: var(--height);
  border-radius: 0.4rem 0.4rem 0 0;
  background: var(--primary);
  transform-origin: bottom;
  animation: bar-rise 6s ease-in-out infinite alternate;
}

.deal-bars i:nth-child(2) { animation-delay: 120ms; }
.deal-bars i:nth-child(3) { animation-delay: 240ms; }
.deal-bars i:nth-child(4) { animation-delay: 360ms; }
.deal-bars i:nth-child(5) { animation-delay: 480ms; }

.deal-result {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.deal-result strong {
  font-size: 1.1rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.4rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background: #ecf9ef;
}

.privacy-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.privacy-grid article {
  border-left: 2px solid var(--primary);
  padding-left: 0.9rem;
}

.privacy-grid strong {
  display: block;
  margin-bottom: 0.25rem;
}

.privacy-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@keyframes metric-grow {
  from { transform: scaleX(0.18); }
  to { transform: scaleX(1); }
}

@keyframes kit-float {
  50% { transform: translateY(-4px); }
}

@keyframes kit-highlight {
  to { background: rgba(102, 204, 138, 0.42); }
}

@keyframes notice-pulse {
  50% { box-shadow: 0 0 0 5px rgba(102, 204, 138, 0.12); }
}

@keyframes bar-rise {
  from { transform: scaleY(0.25); }
  to { transform: scaleY(1); }
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(12rem, 0.36fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, #ffffff, #f4f8f0);
  box-shadow: var(--shadow);
  scroll-margin-top: 2rem;
}

.founder-story h2 {
  margin-bottom: 1rem;
}

.founder-story p:not(.eyebrow) {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.founder-photo-wrap {
  justify-self: center;
}

.founder-photo-wrap img {
  display: block;
  width: clamp(8rem, 22vw, 14rem);
  height: clamp(8rem, 22vw, 14rem);
  border: 5px solid var(--primary);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(102, 204, 138, 0.24);
}

.faq-section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0.5rem;
}

.faq-section .eyebrow {
  margin-bottom: 0.75rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.3rem;
  color: var(--primary-dark);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 42rem;
  margin-bottom: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: start;
  gap: 1.5rem 2.75rem;
  max-width: 80rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.8rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  justify-content: start;
}

.dashboard-page .site-footer {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.footer-brand-block,
.footer-contact-block,
.footer-legal-block,
.site-footer address {
  display: flex;
  flex-direction: column;
}

.footer-brand-block {
  gap: 0.18rem;
}

.footer-brand-block strong {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.footer-origin {
  font-size: 0.78rem;
}

.footer-contact-block {
  align-items: flex-start;
  gap: 0.45rem;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
  text-align: left;
}

.footer-legal-block {
  align-items: flex-start;
  gap: 0.45rem;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.footer-legal-block button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--content);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.site-footer address {
  font-style: normal;
  line-height: 1.45;
}

.site-footer a {
  color: var(--content);
  text-underline-offset: 0.18em;
}

.site-footer .footer-whatsapp {
  color: var(--primary-dark);
  font-weight: 900;
  text-decoration-color: rgba(24, 79, 44, 0.32);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.legal-shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
}

.legal-hero {
  max-width: 54rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.legal-hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.legal-hero > p:last-child {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.legal-document {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--line);
}

.legal-document section {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--base);
}

.legal-document h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.045em;
}

.legal-document h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.05rem;
}

.legal-document p,
.legal-document li,
.legal-document address {
  color: var(--muted);
  line-height: 1.7;
}

.legal-document p,
.legal-document ul {
  margin: 0.75rem 0 0;
}

.legal-document ul {
  padding-left: 1.3rem;
}

.legal-document li + li {
  margin-top: 0.45rem;
}

.legal-document a {
  color: var(--primary-dark);
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.legal-document address {
  font-style: normal;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-document table {
  width: 100%;
  border-collapse: collapse;
  min-width: 38rem;
}

.legal-document th,
.legal-document td {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1rem 0.9rem 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  color: var(--content);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-privacy-settings {
  margin-top: 1rem;
}

.auth-legal {
  max-width: 31rem;
  margin: 0.8rem auto 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
}

.auth-legal a,
.cookie-banner a {
  color: inherit;
  font-weight: 850;
  text-underline-offset: 0.16em;
}

.idea-trigger {
  position: fixed;
  z-index: 60;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 12px 30px rgba(24, 79, 44, 0.25);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.idea-trigger:hover {
  box-shadow: 0 16px 36px rgba(24, 79, 44, 0.3);
  transform: translateY(-2px) scale(1.04);
}

.idea-trigger:focus-visible {
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 6px var(--primary-dark);
}

.idea-trigger svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke-width: 2.1;
}

.idea-modal[hidden] {
  display: none;
}

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

.idea-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 30, 39, 0.48);
  backdrop-filter: blur(4px);
}

.idea-dialog {
  position: relative;
  width: min(100%, 30rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: clamp(1.25rem, 4vw, 1.8rem);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(25, 30, 39, 0.28);
}

.idea-dialog h2 {
  margin-bottom: 0.55rem;
  padding-right: 2rem;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.idea-dialog > p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.idea-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--base-2);
  color: var(--content);
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.idea-form {
  position: relative;
  display: grid;
  gap: 0.7rem;
}

.idea-form label {
  font-size: 0.82rem;
  font-weight: 850;
}

.idea-optional {
  color: var(--muted);
  font-weight: 650;
}

.idea-form input,
.idea-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem 0.9rem;
  background: #ffffff;
  color: var(--content);
  font: inherit;
  outline: none;
}

.idea-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.idea-form input:focus,
.idea-form textarea:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(102, 204, 138, 0.2);
}

.idea-challenge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.2rem;
}

.idea-challenge input {
  text-align: center;
}

.idea-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.idea-form .button {
  width: fit-content;
  margin-top: 0.25rem;
}

.idea-form .button::after {
  content: none;
}

.idea-status {
  min-height: 1.35rem;
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.idea-status.error {
  color: #a32929;
}

.idea-modal-open {
  overflow: hidden;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.8rem 0 1rem;
}

.account-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 1rem;
  min-height: 16rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.account-card:hover {
  border-color: rgba(51, 60, 77, 0.2);
  background: var(--base-2);
  box-shadow: 0 18px 48px rgba(51, 60, 77, 0.12);
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.account-card-header h2 {
  margin: 0;
  font-size: 2rem;
}

.account-icon {
  flex: 0 0 auto;
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
  transition: transform 220ms ease;
}

.account-card:hover .account-icon {
  transform: scale(1.1);
}

.account-button {
  width: fit-content;
  min-height: 3rem;
  padding-inline: 1.35rem;
  font-weight: 700;
}

.account-card p,
.section-heading p,
.note-card,
.profile p,
.videos {
  color: var(--muted);
  line-height: 1.6;
}

.note-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
}

.note-card span {
  font-weight: 850;
}

code {
  border-radius: 0.6rem;
  padding: 0.2rem 0.45rem;
  background: var(--base-2);
  color: var(--primary-dark);
  word-break: break-word;
}

.section-heading {
  max-width: 48rem;
  padding: 4rem 0 1.2rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.panel {
  margin-bottom: 1rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  box-shadow: var(--shadow);
}

.panel-header,
.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: #ecf9ef;
  color: #277a42;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile {
  justify-content: flex-start;
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  background: #fffdf7;
}

.profile img {
  width: 5rem;
  height: 5rem;
  flex: 0 0 auto;
  border-radius: 1rem;
  object-fit: cover;
  background: var(--base-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.stat {
  min-height: 7.4rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #fbfbf7);
}

.stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--content);
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  letter-spacing: -0.055em;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.videos {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.video {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 0.85rem;
  background: #fffdf7;
}

.video img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.85rem;
  object-fit: cover;
  background: var(--base-2);
}

.video h3 {
  color: var(--content);
}

.video p {
  color: var(--muted);
}

.video-meta,
.video-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.video-meta span,
.video-stats span {
  border-radius: 999px;
  padding: 0.38rem 0.6rem;
  background: var(--base-2);
  color: rgba(51, 60, 77, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.video a {
  color: var(--primary-dark);
  text-decoration: none;
}

.raw {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

pre {
  overflow: auto;
  max-height: 22rem;
  border: 1px solid #1f1f1d;
  border-radius: 1rem;
  padding: 1rem;
  background: #11110f;
  color: #c9f7d7;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.auth-card {
  width: min(100%, 42rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  background: linear-gradient(135deg, #ffffff, #f4f8f0);
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.auth-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.auth-form input {
  min-width: 0;
  min-height: 3.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: #ffffff;
  color: var(--content);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(102, 204, 138, 0.2);
}

.auth-example-link {
  margin: 0.85rem 0 0;
  text-align: center;
}

.auth-example-link a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-example-link a:hover,
.auth-example-link a:focus-visible {
  color: var(--content);
  text-decoration: underline;
}

.code-form input {
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: 0.25em;
  text-align: center;
}

.button:disabled {
  cursor: wait;
  filter: grayscale(0.5);
  opacity: 0.7;
}

.text-button {
  margin-top: 1rem;
  border: 0;
  padding: 0.35rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.auth-message {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

#auth-message:empty {
  display: none;
}

.auth-message.error {
  color: #a32929;
}

.dashboard-page {
  background: var(--base);
}

.shared-kit-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, var(--primary-glow), transparent 22rem),
    var(--base);
}

.shared-kit-header {
  padding-top: 1rem;
}

.shared-kit-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.shared-kit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--primary) 55%, var(--line));
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: color-mix(in srgb, var(--primary) 12%, var(--base));
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.shared-kit-badge.fictional {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--content) 28%, var(--line));
  background: color-mix(in srgb, var(--content) 5%, var(--base));
  color: var(--muted);
}

.shared-kit-badge.fictional i {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.64rem;
  line-height: 1;
}

.shared-kit-create-own {
  white-space: nowrap;
}

.shared-kit-header-actions .button {
  width: auto;
}

.shared-kit-create-own[hidden] {
  display: none;
}

.shared-kit-shell {
  padding-top: clamp(2rem, 6vw, 4.5rem);
}

.shared-kit-intro {
  margin-bottom: 0;
  text-align: center;
}

.shared-kit-intro .eyebrow {
  margin-bottom: 0.28rem;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.shared-kit-intro h1 {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  font-weight: 750;
  letter-spacing: -0.01em;
}

.shared-kit-proposal {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: var(--content);
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  line-height: 1.65;
  white-space: pre-line;
}

.shared-kit-proposal[hidden] {
  display: none;
}

.shared-kit-state {
  display: grid;
  min-height: calc(100vh - 5rem);
  place-content: center;
  justify-items: center;
  padding: 2rem;
  text-align: center;
}

.shared-kit-state[hidden] {
  display: none;
}

.shared-kit-state img {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
}

.shared-kit-state h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.shared-kit-state p {
  color: var(--muted);
}

.shared-kit-page .creator-profile-card,
.shared-kit-page .dashboard-section {
  box-shadow: 0 22px 60px rgba(51, 60, 77, 0.09);
}

.dashboard-page[data-theme="dark"] {
  color-scheme: dark;
  --base: #111720;
  --base-2: #0b1018;
  --base-3: #1d2734;
  --content: #edf2f7;
  --muted: rgba(237, 242, 247, 0.66);
  --soft: rgba(237, 242, 247, 0.1);
  --line: rgba(237, 242, 247, 0.14);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.dashboard-page[data-theme="dark"] h1,
.dashboard-page[data-theme="dark"] h2,
.dashboard-page[data-theme="dark"] h3,
.dashboard-page[data-theme="dark"] strong,
.dashboard-page[data-theme="dark"] b {
  color: var(--content);
}

.dashboard-page[data-accent="blue"] {
  --primary: #67a6ff;
  --primary-dark: #174578;
  --primary-glow: rgba(103, 166, 255, 0.36);
}

.dashboard-page[data-accent="purple"] {
  --primary: #a78bfa;
  --primary-dark: #4c1d95;
  --primary-glow: rgba(167, 139, 250, 0.36);
}

.dashboard-page[data-accent="orange"] {
  --primary: #f59e0b;
  --primary-dark: #7c2d12;
  --primary-glow: rgba(245, 158, 11, 0.34);
}

.dashboard-page[data-theme="dark"][data-accent="green"] {
  --primary-dark: #8ff0ac;
}

.dashboard-page[data-theme="dark"][data-accent="blue"] {
  --primary-dark: #93c5fd;
}

.dashboard-page[data-theme="dark"][data-accent="purple"] {
  --primary-dark: #c4b5fd;
}

.dashboard-page[data-theme="dark"][data-accent="orange"] {
  --primary-dark: #fbbf24;
}

.dashboard-header {
  padding-top: 0.75rem;
  padding-bottom: 0.6rem;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dashboard-user .button[data-tooltip] {
  position: relative;
}

.dashboard-user .button[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 0.55rem);
  width: max-content;
  max-width: min(18rem, 70vw);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
  background: var(--content);
  color: var(--base);
  box-shadow: var(--shadow);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.25rem);
  transition: opacity 120ms ease, transform 120ms ease;
}

.dashboard-user .button[data-tooltip]:hover::after,
.dashboard-user .button[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.preview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.preview-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.preview-toggle i {
  position: relative;
  display: block;
  width: 3.15rem;
  height: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--base-2);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.preview-toggle i::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 999px;
  background: var(--content);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, background-color 180ms ease;
}

.preview-toggle input:checked + i {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.preview-toggle input:checked + i::after {
  background: #ffffff;
  transform: translateX(1.38rem);
}

.preview-toggle input:focus-visible + i {
  outline: 3px solid var(--primary-glow);
  outline-offset: 3px;
}

.final-preview .connections-section,
.final-preview .profile-edit-button,
.final-preview .portfolio-edit-button,
.final-preview .collaboration-card-actions,
.final-preview .share-kit-button,
.final-preview #logout,
.final-preview .dashboard-wide-message,
.final-preview .analytics-toolbar,
.final-preview .analytics-note,
.final-preview .tile-arrange-controls,
.final-preview .optional-section-note,
.final-preview .profile-editor {
  display: none !important;
}

.final-preview .final-preview-empty-section,
.final-preview .profile-jump-nav .final-preview-empty-link {
  display: none;
}

.share-kit-button {
  box-shadow: none;
}

.dashboard-shell {
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 3rem;
}

.dashboard-wide-message {
  grid-column: 1 / -1;
  margin-top: 0;
}

.dashboard-wide-message:empty {
  display: none;
}

#customize-message:empty {
  display: none;
}

.connections-section {
  margin-top: 0;
  border: 1px dashed rgba(24, 79, 44, 0.28);
  border-radius: 1.1rem;
  padding: 0.8rem;
  background: rgba(213, 213, 203, 0.36);
}

.dashboard-page[data-theme="dark"] .connections-section {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-optional-note {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.creator-profile-card,
.dashboard-section {
  margin-top: 0.75rem;
}

.creator-profile-card {
  overflow: hidden;
  border: 1px solid rgba(24, 79, 44, 0.16);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 88% 20%, var(--primary-glow), transparent 24rem),
    linear-gradient(135deg, #ffffff, #edf8ef);
  box-shadow: var(--shadow);
}

.dashboard-page[data-theme="dark"] .creator-profile-card {
  background:
    radial-gradient(circle at 88% 20%, var(--primary-glow), transparent 24rem),
    linear-gradient(135deg, #17202b, #101722);
}

.customize-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.customize-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.customize-form legend {
  width: 100%;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customize-form label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  background: var(--swatch, var(--base));
  color: var(--content);
  cursor: pointer;
}

.customize-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.customize-form input {
  position: absolute;
  opacity: 0;
}

.customize-form label:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--base), 0 0 0 5px var(--primary);
}

.swatch-option.theme-light { --swatch: linear-gradient(135deg, #ffffff 0 50%, #f4f4ef 50%); }
.swatch-option.theme-dark { --swatch: linear-gradient(135deg, #111720 0 50%, #0b1018 50%); }
.swatch-option.accent-green { --swatch: #66cc8a; }
.swatch-option.accent-blue { --swatch: #67a6ff; }
.swatch-option.accent-purple { --swatch: #a78bfa; }
.swatch-option.accent-orange { --swatch: #f59e0b; }

.swatch-option.theme-dark {
  border-color: rgba(255, 255, 255, 0.25);
}

#customize-message {
  grid-column: 1 / -1;
  margin: 0;
}

.creator-profile-card .hidden {
  display: none;
}

.profile-empty,
.creator-profile-view,
.profile-editor {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.profile-empty {
  min-height: 9rem;
}

.profile-empty h2 {
  max-width: 22ch;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.profile-empty p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.creator-profile-view {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(12rem, 16rem);
  gap: clamp(0.8rem, 2vw, 1.25rem);
  align-items: center;
}

.creator-avatar {
  width: clamp(4.75rem, 8vw, 6.5rem);
  height: clamp(4.75rem, 8vw, 6.5rem);
  border: 4px solid #ffffff;
  border-radius: 999px;
  object-fit: cover;
  background: var(--base-3);
  box-shadow: 0 12px 28px rgba(24, 79, 44, 0.14);
}

.creator-profile-copy h2 {
  margin-bottom: 0.15rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.creator-username {
  margin-bottom: 0.55rem;
  color: var(--primary-dark);
  font-weight: 850;
}

.profile-jump-section {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.42rem 0.32rem 0.62rem;
  background: color-mix(in srgb, var(--primary) 5%, var(--base));
}

.profile-jump-section[hidden] {
  display: none;
}

.profile-jump-section > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.profile-jump-section:has(.profile-jump-nav:empty) {
  display: none;
}

.profile-jump-nav a {
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 999px;
  padding: 0.2rem 0.48rem;
  background: var(--base);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 850;
  text-decoration: none;
}

.profile-jump-nav a:hover,
.profile-jump-nav a:focus-visible {
  background: color-mix(in srgb, var(--primary) 16%, var(--base));
}

.creator-bio {
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.42;
  white-space: pre-wrap;
}

.creator-profile-side {
  display: grid;
  gap: 0.8rem;
  justify-self: end;
  min-width: 12rem;
  justify-items: end;
}

.creator-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: 0 0 0.65rem;
  text-align: right;
}

.creator-profile-meta strong {
  display: block;
  width: 100%;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.creator-profile-meta span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.creator-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.profile-edit-button {
  width: fit-content;
  justify-self: end;
}

.profile-edit-button::before,
.portfolio-edit-button::before,
#arrange-socials::before {
  content: "✎";
  margin-right: 0.4rem;
  font-size: 0.95em;
  line-height: 1;
}

.creator-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.creator-social-links img {
  width: 1.2rem;
  height: 1.2rem;
}

.profile-editor {
  display: grid;
  max-width: 52rem;
  gap: 0.55rem;
}

.profile-editor-heading,
.profile-import-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-editor-heading {
  justify-content: space-between;
}

.profile-editor-heading .text-button {
  margin: 0;
}

.profile-import-row {
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.76);
}

.profile-editor label {
  color: var(--content);
  font-size: 0.85rem;
  font-weight: 850;
}

.profile-editor input,
.profile-editor textarea,
.profile-editor select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: var(--base);
  color: var(--content);
  font: inherit;
  outline: none;
}

.profile-editor select {
  width: auto;
}

.profile-editor textarea {
  resize: vertical;
}

.profile-editor input:focus,
.profile-editor textarea:focus,
.profile-editor select:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(102, 204, 138, 0.2);
}

.profile-editor > .button {
  width: fit-content;
  margin-top: 0.5rem;
}

.dashboard-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
}

.dashboard-section-heading h1,
.dashboard-section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.compact-heading h1,
.compact-heading h2 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

#configure-heading {
  white-space: nowrap;
}

.dashboard-section-heading > p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.optional-section-note {
  max-width: 36rem;
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

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

.connection-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.6rem;
  background: var(--base);
}

.connection-card.connected {
  border-color: var(--primary);
  background: var(--base);
}

.connection-card > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.7rem;
}

.connection-card img {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.connection-card span {
  min-width: 0;
}

.connection-card strong,
.connection-card small {
  display: block;
}

.connection-card small {
  overflow: hidden;
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.connection-actions .button {
  min-height: 2.15rem;
  padding: 0.52rem 0.78rem;
}

.connection-actions .primary {
  box-shadow: none;
}

.button.danger {
  color: #8f2d2d;
}

.button.danger:hover {
  background: rgba(143, 45, 45, 0.1);
}

.social-analytics-stack {
  display: grid;
  align-items: start;
  gap: 0.75rem;
}

.analytics-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.analytics-toolbar span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.social-analytics-stack.count-1 {
  grid-template-columns: 1fr;
}

.social-analytics-stack.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-analytics-stack.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-analytics-card {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--base);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 160ms ease, transform 180ms ease;
}

.social-analytics-card:hover,
.social-analytics-card:focus-within {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  box-shadow: 0 18px 44px rgba(51, 60, 77, 0.13);
  transform: translateY(-2px);
}

.arranging-socials .social-analytics-card {
  cursor: grab;
}

.social-analytics-card.dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.social-analytics-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.1rem;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
}

.analytics-platform-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 850;
}

.analytics-platform-label img {
  width: 1.65rem;
  height: 1.65rem;
}

.social-analytics-header .eyebrow,
.social-analytics-header h2 {
  display: none;
}

.verified-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #2f80ed;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.tile-arrange-controls {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.arranging-socials .tile-arrange-controls {
  display: inline-flex;
}

.drag-handle {
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: var(--base-2);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tile-arrange-controls .button {
  min-height: 2rem;
  padding: 0.45rem 0.55rem;
}

.verified-badge small {
  position: absolute;
  right: 0;
  top: calc(100% - 0.25rem);
  z-index: 5;
  max-width: min(18rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: var(--base);
  box-shadow: 0 12px 30px rgba(51, 60, 77, 0.14);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(-0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.verified-badge:hover small,
.verified-badge:focus small {
  opacity: 1;
  transform: translateY(0);
}

.analytics-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--base);
}

.social-analytics-stack.count-2 .analytics-metrics-grid,
.social-analytics-stack.count-3 .analytics-metrics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-metrics-grid.item-count-1 {
  grid-template-columns: 1fr;
}

.analytics-metrics-grid.item-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-metrics-grid.item-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-analytics-stack.count-2 .analytics-metrics-grid.item-count-3,
.social-analytics-stack.count-3 .analytics-metrics-grid.item-count-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-metric {
  position: relative;
  min-height: 7rem;
  border-right: 1px solid var(--line);
  padding: 0.85rem;
}

.analytics-metric:last-child {
  border-right: 0;
}

.social-analytics-stack.count-2 .analytics-metric:nth-child(2),
.social-analytics-stack.count-3 .analytics-metric:nth-child(2) {
  border-right: 0;
}

.social-analytics-stack.count-2 .analytics-metric:nth-child(-n + 2),
.social-analytics-stack.count-3 .analytics-metric:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.analytics-metrics-grid.item-count-1 .analytics-metric,
.social-analytics-stack.count-2 .analytics-metrics-grid.item-count-2 .analytics-metric,
.social-analytics-stack.count-3 .analytics-metrics-grid.item-count-2 .analytics-metric {
  border-bottom: 0;
}

.social-analytics-stack.count-2 .analytics-metrics-grid.item-count-3 .analytics-metric:last-child,
.social-analytics-stack.count-3 .analytics-metrics-grid.item-count-3 .analytics-metric:last-child {
  grid-column: 1 / -1;
}

.analytics-metric > span,
.analytics-metric-value > strong {
  display: block;
}

.analytics-metric > small {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: calc(100% - 0.35rem);
  z-index: 6;
  display: block;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: var(--base);
  box-shadow: 0 12px 30px rgba(51, 60, 77, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.analytics-metric:hover > small,
.analytics-metric:focus-within > small {
  opacity: 1;
  transform: translateY(0);
}

.analytics-metric:has(.positive-trend:hover) > small,
.analytics-metric:has(.positive-trend:focus) > small {
  opacity: 0;
  transform: translateY(-0.25rem);
}

.analytics-metric > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.analytics-metric-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.analytics-metric-value > strong {
  margin: 0.3rem 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.05em;
}

.analytics-metric > small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.32;
}

.social-analytics-stack.count-2 .audience-grid,
.social-analytics-stack.count-3 .audience-grid {
  grid-template-columns: 1fr;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.85rem 0.85rem 0;
}

.growth-grid.item-count-1 {
  grid-template-columns: 1fr;
}

.growth-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 1rem;
  padding: 0.85rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 10%, var(--base)), var(--base));
  box-shadow: 0 14px 36px rgba(51, 60, 77, 0.08);
}

.growth-card.growth-positive::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: var(--primary-glow);
  filter: blur(8px);
  opacity: 0.65;
}

.growth-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.growth-card h3 {
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.positive-trend {
  position: relative;
  display: inline-block;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0.24rem 0.48rem;
  background: color-mix(in srgb, var(--primary) 16%, var(--base));
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.positive-trend small {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  z-index: 12;
  width: max-content;
  max-width: min(14rem, 64vw);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.5rem 0.65rem;
  background: var(--content);
  box-shadow: var(--shadow);
  color: var(--base);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 0.25rem);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: normal;
}

.positive-trend:hover small,
.positive-trend:focus small {
  opacity: 1;
  transform: translate(-50%, 0);
}

.growth-card .positive-trend small {
  top: calc(100% + 0.55rem);
  bottom: auto;
}

.analytics-note.error {
  color: #a13a3a;
}

.growth-card svg {
  display: block;
  width: 100%;
  height: 5rem;
  margin-top: 0.55rem;
  overflow: visible;
  filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--primary) 22%, transparent));
}

.growth-card polygon {
  fill: color-mix(in srgb, var(--primary) 18%, transparent);
}

.growth-card polyline {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
  vector-effect: non-scaling-stroke;
}

.growth-card circle {
  fill: var(--base);
  stroke: var(--primary);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.growth-card p,
.growth-card > small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.growth-card > small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.35rem;
}

.growth-card p {
  margin-top: 0.45rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.8rem;
}

.audience-grid.item-count-1 {
  grid-template-columns: 1fr;
}

.audience-grid.item-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  min-height: 7.25rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.7rem;
  background: var(--base);
}

.audience-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.86rem;
}

.unavailable-copy,
.analytics-note {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.analytics-note {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.95rem;
}

.distribution-list {
  display: grid;
  gap: 0.42rem;
}

.distribution-row {
  display: grid;
  grid-template-columns: minmax(4rem, auto) minmax(3rem, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
}

.distribution-row > span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  overflow: hidden;
  color: var(--muted);
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-flag {
  flex: 0 0 auto;
  font-size: 0.9rem;
  line-height: 1;
}

.distribution-row i,
.distribution-row b {
  display: block;
  height: 0.28rem;
  border-radius: 999px;
}

.distribution-row i {
  overflow: hidden;
  background: rgba(51, 60, 77, 0.1);
}

.distribution-row b {
  background: var(--primary);
}

.collaboration-grid {
  display: grid;
  gap: 0.8rem;
}

.collaboration-card {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--line));
  border-radius: 1rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, var(--base)), var(--base) 55%);
  box-shadow: var(--shadow);
}

.collaboration-media {
  position: relative;
  display: grid;
  min-height: 10rem;
  place-items: center;
  overflow: hidden;
  background: var(--base-3);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.collaboration-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collaboration-media b {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: #333c4d;
  font-size: 0.64rem;
}

.collaboration-media b img {
  width: 0.85rem;
  height: 0.85rem;
}

.collaboration-card-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.collaboration-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.collaboration-card-heading h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.collaboration-card-heading small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.collaboration-card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.3rem;
}

.collaboration-card-actions button {
  border: 0;
  padding: 0.2rem;
  background: transparent;
  color: var(--primary-dark);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

.collaboration-card-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}

.collaboration-card-copy > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collaboration-card-copy > ul li {
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
  background: color-mix(in srgb, var(--primary) 9%, var(--base));
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 850;
}

.featured-content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.featured-content-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--base);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-content-card:hover {
  box-shadow: 0 20px 48px rgba(51, 60, 77, 0.14);
  transform: translateY(-3px);
}

.featured-content-image {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  background: var(--base-3);
  color: var(--muted);
  font-weight: 800;
}

.featured-content-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content-image b {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.26rem 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  color: #333c4d;
  font-size: 0.64rem;
}

.dashboard-page[data-theme="dark"] .creator-social-links a {
  color: #333c4d;
}

.featured-content-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
}

.featured-content-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 0.24rem 0.46rem;
  background: rgba(17, 23, 32, 0.36);
  backdrop-filter: blur(6px);
}

.featured-content-stats svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.featured-content-image b img {
  width: 0.85rem;
  height: 0.85rem;
}

.featured-content-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 0.55rem;
  padding: 3.2rem 0.75rem 0.75rem;
  background: linear-gradient(transparent, rgba(17, 23, 32, 0.9));
}

.featured-content-copy {
  padding: 0;
}

.featured-content-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0.25rem;
  color: #ffffff;
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-content-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
  font-size: 0.72rem;
  font-weight: 800;
}

.rates-card {
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 9%, var(--base)), var(--base));
  box-shadow: 0 14px 36px rgba(51, 60, 77, 0.08);
}

.rates-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.rates-card p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.rates-intro {
  max-width: 48rem;
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

.rate-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.rate-offering-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 1rem;
  padding: 1.1rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 9%, var(--base)), var(--base));
  box-shadow: 0 14px 36px rgba(51, 60, 77, 0.08);
}

.rate-offering-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.rate-offering-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.rate-offering-card header > strong {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 1rem;
  white-space: nowrap;
}

.rate-offering-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rate-offering-card li {
  display: grid;
  grid-template-columns: 1.1rem auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.rate-offering-card li > img {
  width: 1.1rem;
  height: 1.1rem;
}

.rate-offering-card li b {
  color: var(--primary-dark);
}

.rate-offering-details {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  color: var(--content);
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre-line;
}

.portfolio-dialog.rates-dialog {
  width: min(100%, 68rem);
}

#rates-form {
  margin-top: 1.2rem;
}

.rate-editor,
.rate-offering-editors {
  display: grid;
  gap: 1rem;
}

.rate-editor label {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  color: var(--content);
  font-size: 0.76rem;
  font-weight: 850;
}

.rate-editor label span {
  color: var(--muted);
  font-weight: 700;
}

.rate-editor input,
.rate-editor select,
.rate-editor textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.65rem 0.7rem;
  background: var(--base);
  color: var(--content);
  font: inherit;
  font-weight: 650;
  outline: none;
}

.rate-editor textarea {
  resize: vertical;
}

.rate-editor input:focus,
.rate-editor select:focus,
.rate-editor textarea:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.rate-editor-heading,
.rate-editor-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rate-editor-heading small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.rate-offering-editor {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: var(--base);
}

.rate-editor-title-row > strong {
  font-size: 0.95rem;
}

.rate-name-field {
  flex: 1;
  max-width: 28rem;
}

.rate-title-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rate-deliverable > button {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.4rem 0.55rem;
  background: var(--base);
  color: var(--content);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.rate-deliverable > button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.rate-deliverable > button {
  color: #a52a2a;
}

.rate-remove-offering,
.rate-rename-offering,
.rate-add-deliverable {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary-dark);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.rate-remove-offering {
  color: #a52a2a;
}

.rate-rename-offering {
  color: var(--primary-dark);
}

.rate-deliverables {
  display: grid;
  gap: 0.45rem;
}

.rate-deliverable {
  display: grid;
  grid-template-columns: 4.5rem minmax(9rem, 0.8fr) minmax(10rem, 1fr) auto;
  align-items: end;
  gap: 0.45rem;
}

.rate-deliverable > button {
  min-height: 2.2rem;
  font-size: 1rem;
}

.rate-platform-select {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
}

.rate-platform-select img {
  width: 1.15rem;
  height: 1.15rem;
}

.rate-simple-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  gap: 0.55rem;
  max-width: 24rem;
}

.share-rates-customization[hidden],
.rate-editor[hidden] {
  display: none;
}

.share-rates-customization {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.share-rates-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.share-rates-heading small {
  color: var(--muted);
}

.share-rate-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.share-rate-modes > label {
  display: flex !important;
  gap: 0.6rem;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.7rem;
  background: var(--base);
  cursor: pointer;
}

.share-rate-modes > label:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 9%, var(--base));
}

.share-rate-modes input {
  width: auto !important;
}

.share-rate-modes span strong,
.share-rate-modes span small {
  display: block;
}

.share-rate-modes span small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-weight: 650;
}

.compact-rate-editor {
  max-height: 34rem;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem;
  background: var(--base);
}

.portfolio-modal[hidden] {
  display: none;
}

.share-modal[hidden],
.share-step[hidden] {
  display: none;
}

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

.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 23, 32, 0.62);
  backdrop-filter: blur(5px);
}

.share-dialog {
  position: relative;
  width: min(100%, 58rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--base);
  box-shadow: 0 32px 90px rgba(17, 23, 32, 0.36);
}

.share-dialog .button.primary::after {
  content: none;
}

.share-heading {
  max-width: 42rem;
  padding-right: 2.5rem;
}

.share-heading h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.share-heading > p:last-child,
.share-step > p:not(.auth-message),
.shared-kits-explainer {
  color: var(--muted);
  line-height: 1.5;
}

#share-sections-message:empty,
#share-create-message:empty {
  display: none;
}

.share-step {
  margin-top: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  background: var(--base-2);
}

.share-step-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.share-step-label > span {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.share-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem;
  background: var(--base);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.share-option:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.share-option:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--base));
}

.share-option.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.share-option input {
  position: absolute;
  opacity: 0;
}

.share-option-check {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 0.38rem;
  background: var(--base);
}

.share-option input:checked + .share-option-check {
  border-color: var(--primary-dark);
  background: var(--primary);
}

.share-option input:checked + .share-option-check::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.share-option input:focus-visible + .share-option-check {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}

.share-option-copy {
  min-width: 0;
}

.share-option-copy strong,
.share-option-copy small {
  display: block;
}

.share-option-copy strong {
  font-size: 0.86rem;
}

.share-option-copy small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.share-help {
  position: relative;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--base-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: help;
}

.share-help::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 10;
  right: -0.25rem;
  bottom: calc(100% + 0.55rem);
  width: min(17rem, 70vw);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.6rem 0.7rem;
  background: var(--content);
  color: var(--base);
  box-shadow: var(--shadow);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.25rem);
  transition: opacity 150ms ease, transform 150ms ease;
}

.share-help:hover::after,
.share-help:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.share-impact-summary {
  margin: 0.8rem 0 0;
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem;
  background: color-mix(in srgb, var(--primary) 10%, var(--base));
  color: var(--primary-dark) !important;
  font-size: 0.76rem;
  font-weight: 750;
}

.share-impact-summary.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #7c4a03 !important;
}

.share-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.share-step-actions .button {
  width: auto;
}

#share-company-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 850;
}

#share-company-form label span {
  color: var(--muted);
  font-weight: 700;
}

#share-company-form label[for="share-proposal"] {
  margin-top: 1rem;
}

#share-company,
#share-proposal {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  background: var(--base);
  color: var(--content);
  font: inherit;
  outline: none;
}

#share-proposal {
  min-height: 7rem;
  resize: vertical;
}

#share-company:focus,
#share-proposal:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

#share-company-form > p:not(.auth-message) {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
}

.share-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.share-link-box input {
  min-width: 0;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background: var(--base);
  color: var(--content);
  font: inherit;
  font-size: 0.78rem;
}

.share-success > .text-button {
  margin-bottom: 0;
}

.shared-kits-panel {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.shared-kits-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.shared-kits-heading h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.shared-kits-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.shared-kits-heading .text-button {
  margin: 0;
}

.shared-kits-explainer {
  margin: 0.55rem 0 0.8rem;
  font-size: 0.74rem;
}

.shared-kits-list {
  display: grid;
  gap: 0.55rem;
}

.shared-kit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem;
  background: var(--base);
}

.shared-kit-row.revoked {
  opacity: 0.62;
}

.shared-kit-main h4 {
  margin: 0.28rem 0 0.2rem;
  font-size: 0.92rem;
}

.shared-kit-main > p,
.shared-kit-notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.shared-kit-notice {
  display: block;
  margin-top: 0.4rem;
  color: #8a5a00;
}

.shared-kit-status {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.44rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
}

.shared-kit-status.viewed {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 15%, var(--base));
  color: var(--primary-dark);
}

.shared-kit-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.shared-kit-sections span {
  border-radius: 999px;
  padding: 0.2rem 0.4rem;
  background: var(--base-2);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.shared-kit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.shared-kit-actions .button {
  width: auto;
}

.share-modal-open {
  overflow: hidden;
}

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

.portfolio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 23, 32, 0.58);
  backdrop-filter: blur(4px);
}

.portfolio-dialog {
  --portfolio-dialog-pad: clamp(1.1rem, 3vw, 1.7rem);
  position: relative;
  width: min(100%, 52rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: var(--portfolio-dialog-pad);
  background: var(--base);
  box-shadow: 0 28px 80px rgba(17, 23, 32, 0.32);
}

.portfolio-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--base-2);
  color: var(--content);
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.portfolio-dialog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 2.8rem;
}

.portfolio-dialog-heading h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.portfolio-dialog-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.portfolio-dialog-heading > strong {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 0.82rem;
}

.portfolio-filters {
  display: flex;
  width: fit-content;
  gap: 0.3rem;
  margin: 1.2rem 0 0;
  border: 0;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--base-2);
}

.portfolio-filters legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.portfolio-filters label {
  position: relative;
  cursor: pointer;
}

.portfolio-filters input {
  position: absolute;
  opacity: 0;
}

.portfolio-filters span {
  display: block;
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.portfolio-filters input:checked + span {
  background: var(--base);
  color: var(--primary-dark);
  box-shadow: 0 1px 5px rgba(15, 44, 27, 0.12);
}

.portfolio-filters input:focus-visible + span {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}

.portfolio-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.collaboration-content-list {
  max-height: min(20rem, 38vh);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.portfolio-item.collaboration-content-option {
  grid-template-columns: auto 4rem minmax(0, 1fr);
  cursor: pointer;
}

.collaboration-content-option .portfolio-check {
  border-radius: 999px;
}

.collaboration-content-option input:checked + .portfolio-check::after {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.collaboration-description-field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--content);
  font-size: 0.82rem;
  font-weight: 850;
}

.collaboration-description-field textarea {
  width: 100%;
  resize: vertical;
}

.collaboration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  border: 0;
  padding: 0;
}

.collaboration-tags legend {
  width: 100%;
  margin-bottom: 0.1rem;
  color: var(--content);
  font-size: 0.82rem;
  font-weight: 850;
}

.collaboration-tags legend span {
  color: var(--muted);
  font-weight: 650;
}

.collaboration-tags label {
  position: relative;
  cursor: pointer;
}

.collaboration-tags input {
  position: absolute;
  opacity: 0;
}

.collaboration-tags label span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.collaboration-tags input:checked + span {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, var(--base));
  color: var(--primary-dark);
}

.collaboration-tags input:focus-visible + span {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}

.collaboration-dialog .portfolio-filters {
  flex-wrap: wrap;
  max-width: 100%;
}

.portfolio-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.5rem;
  background: var(--base);
}

.portfolio-item.selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, var(--base));
}

.portfolio-item[draggable="true"] {
  cursor: grab;
}

.portfolio-item.dragging {
  opacity: 0.45;
}

.portfolio-item.drop-before::before,
.portfolio-item.drop-after::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  height: 0.22rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.portfolio-item.drop-before::before {
  top: -0.38rem;
}

.portfolio-item.drop-after::after {
  bottom: -0.38rem;
}

.portfolio-item > label {
  position: relative;
  display: grid;
  grid-template-columns: auto 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  cursor: pointer;
}

.portfolio-item.arrangeable > label {
  cursor: grab;
}

.portfolio-item input {
  position: absolute;
  opacity: 0;
}

.portfolio-check {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 0.35rem;
  background: var(--base);
}

.portfolio-item input:checked + .portfolio-check {
  border-color: var(--primary-dark);
  background: var(--primary);
}

.portfolio-item input:checked + .portfolio-check::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.portfolio-item input:focus-visible + .portfolio-check {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}

.portfolio-thumbnail {
  display: grid;
  width: 4rem;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 0.55rem;
  background: var(--base-3);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
}

.portfolio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portfolio-item-copy {
  min-width: 0;
}

.portfolio-item-copy strong,
.portfolio-item-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-item-copy strong {
  font-size: 0.82rem;
}

.portfolio-item-copy small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.portfolio-move-controls {
  align-items: center;
  display: flex;
  gap: 0.3rem;
}

.portfolio-drag-hint {
  border-radius: 999px;
  padding: 0.38rem 0.55rem;
  background: var(--primary);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 900;
  cursor: grab;
}

.portfolio-move-controls button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.55rem;
  background: var(--base);
  color: var(--content);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.portfolio-move-controls button:disabled {
  cursor: default;
  opacity: 0.35;
}

.portfolio-actions {
  position: sticky;
  bottom: calc(var(--portfolio-dialog-pad) * -1);
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin: 0 calc(var(--portfolio-dialog-pad) * -1) calc(var(--portfolio-dialog-pad) * -1);
  border-top: 1px solid var(--line);
  padding: 0.85rem var(--portfolio-dialog-pad) var(--portfolio-dialog-pad);
  background: linear-gradient(rgba(255, 255, 255, 0), var(--base) 1rem);
}

.portfolio-actions .button {
  width: auto;
}

.portfolio-modal-open {
  overflow: hidden;
}

.dashboard-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 0.85rem;
  padding: 1.25rem;
  color: var(--muted);
  text-align: center;
}

.nav-dashboard {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: var(--primary-dark) !important;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .how-grid,
  .privacy-section,
  .founder-story,
  .account-grid,
  .stats {
    grid-template-columns: 1fr;
  }

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

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

  .analytics-metrics-grid.item-count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-metric:nth-child(2) {
    border-right: 0;
  }

  .analytics-metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .analytics-metrics-grid.item-count-1 .analytics-metric,
  .analytics-metrics-grid.item-count-2 .analytics-metric {
    border-bottom: 0;
  }

  .analytics-metrics-grid.item-count-3 .analytics-metric:last-child {
    grid-column: 1 / -1;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid.item-count-2 {
    grid-template-columns: 1fr;
  }

  .social-analytics-stack.count-3 {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 30rem;
  }

  .founder-story {
    text-align: center;
  }

  .account-card {
    min-height: auto;
  }

  .panel-header,
  .profile {
    align-items: flex-start;
  }

  .panel-header {
    flex-direction: column;
  }

  .video {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    padding-inline: 1rem;
  }

  .hero {
    padding-inline: 0;
  }

  .hero-actions,
  .secondary-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1.25rem;
    text-align: left;
  }

  .footer-contact-block {
    align-items: flex-start;
    border-left: 0;
    padding-left: 0;
    gap: 0.55rem;
    text-align: left;
  }

  .footer-legal-block {
    align-items: flex-start;
    border-left: 0;
    padding-left: 0;
  }

  .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
    flex-direction: column;
    width: calc(100vw - 1.5rem);
  }

  .cookie-banner-actions .button {
    width: 100%;
  }

  .growth-grid {
    grid-template-columns: 1fr;
  }

  .customer-proof {
    flex-direction: column;
  }

  .demo-frame {
    border-width: 3px;
  }

  .browser-bar small {
    display: none;
  }

  .example-kit-preview {
    height: 30vh;
    min-height: 13rem;
  }

  .rate-offerings-grid,
  .share-rate-modes {
    grid-template-columns: 1fr;
  }

  .rate-offering-card header,
  .rate-editor-title-row,
  .share-rates-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .rate-deliverable {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
  }

  .rate-deliverable label:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .rate-deliverable > button {
    grid-column: 3;
    grid-row: 1;
  }

  .landing-example-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 0;
  }

  .infochart {
    margin-top: 0;
  }

  .note-card {
    width: 100%;
  }

  .profile {
    flex-direction: column;
  }

  .auth-form {
    grid-template-columns: 1fr;
  }

  .idea-challenge {
    grid-template-columns: 1fr;
  }

  .idea-dialog {
    max-height: calc(100dvh - 2rem);
  }

  .dashboard-header {
    align-items: flex-start;
  }

  .dashboard-user {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .dashboard-user .button {
    width: auto;
  }

  .portfolio-dialog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-options,
  .shared-kit-row,
  .share-link-box {
    grid-template-columns: 1fr;
  }

  .shared-kit-actions {
    justify-content: flex-start;
  }

  .portfolio-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-move-controls {
    justify-content: flex-end;
  }

  .creator-profile-view,
  .connection-grid,
  .featured-content-grid {
    grid-template-columns: 1fr;
  }

  .profile-edit-button {
    width: fit-content;
  }

  .creator-profile-view {
    justify-items: start;
  }

  .creator-profile-meta,
  .creator-social-links {
    justify-content: flex-start;
    text-align: left;
  }

  .creator-profile-side {
    justify-self: start;
    min-width: 0;
  }

  .social-analytics-stack.count-2,
  .social-analytics-stack.count-3 {
    grid-template-columns: 1fr;
  }

  .dashboard-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .collaboration-card {
    grid-template-columns: 1fr;
  }

  .collaboration-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .collaboration-card-heading {
    flex-direction: column;
  }

  .verified-badge small {
    text-align: left;
  }

  .analytics-metrics-grid {
    grid-template-columns: 1fr;
  }

  .analytics-metric,
  .analytics-metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .analytics-metric:last-child {
    border-bottom: 0;
  }

  .profile-import-row {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-editor select,
  .profile-import-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-bar i,
  .kit-chart,
  .kit-stats span,
  .deal-notice,
  .deal-bars i {
    animation: none;
  }
}
