@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/app/assets/fonts/nunito-latin-wght.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Loopsy.link design tokens: three brand colors, used solid or as tints. */
:root {
  --accent: #697a33;
  --accent-pressed: #4d5c26;
  --bg: #f6f3ef;
  --surface: #fff;
  --tint-08: rgba(105, 122, 51, 0.08);
  --tint-10: rgba(105, 122, 51, 0.1);
  --tint-12: rgba(105, 122, 51, 0.12);
  --tint-14: rgba(105, 122, 51, 0.14);
  --tint-15: rgba(105, 122, 51, 0.15);
  --tint-25: rgba(105, 122, 51, 0.25);
  --fg1: #1c1c1e;
  --fg2: #6b6b70;
  --fg3: #9a9a9f;
  --fg4: #c7c7cc;
  --danger: #c8553d;
  --lift: 0 4px 16px rgba(40, 54, 24, 0.08);
  --float: 0 8px 32px rgba(40, 54, 24, 0.16);
  --sans: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  --stripes: repeating-linear-gradient(
    135deg,
    var(--tint-08) 0 6px,
    var(--tint-14) 6px 12px
  );
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg1);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: var(--accent-pressed);
}
a:hover {
  color: var(--accent);
}
button,
a,
input,
textarea,
select {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
  color: var(--fg1);
}
h1 {
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.2px;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.8px;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
}

/* Buttons: press is scale .95 + opacity .8, hover (web) is opacity .9. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  padding: 16px 22px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.button:hover {
  color: #fff;
  opacity: 0.9;
}
.button:active {
  transform: scale(0.95);
  opacity: 0.8;
}
.button.secondary {
  background: var(--surface);
  color: var(--fg1);
}
.button.secondary:hover {
  color: var(--fg1);
}
.button.tint {
  background: var(--tint-15);
  color: var(--accent-pressed);
}
.button.small {
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 12px;
}
.text-button {
  background: transparent;
  border: 0;
  padding: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-pressed);
}
.text-button:hover {
  text-decoration: underline;
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-pressed);
  margin-bottom: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tint-10);
  color: var(--accent-pressed);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9999px;
}
.ph {
  background: var(--stripes);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.icon {
  flex: none;
}

/* Site chrome */
.site-header {
  max-width: 1280px;
  padding: 22px 56px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--fg1);
}
.brand:hover {
  color: var(--fg1);
}
.brand img {
  border-radius: 10px;
  display: block;
}
.brand em {
  font-style: normal;
  color: var(--accent);
}
.site-header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}
.site-header nav > a {
  text-decoration: none;
  color: var(--fg2);
}
.site-header nav > a:hover {
  color: var(--fg1);
}
.site-header nav > a.signin-nav {
  color: var(--fg1);
  font-weight: 700;
}
.site-footer {
  max-width: 1280px;
  padding: 0 56px 32px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg2);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.site-footer a {
  text-decoration: none;
  color: var(--fg2);
}
.site-footer a:hover {
  color: var(--fg1);
}

/* Landing */
.lp {
  overflow-x: clip;
}
.lp-hero {
  padding: 56px 56px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-hero h1 {
  margin: 22px 0 16px;
  font-size: clamp(42px, 7.4vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 900px;
  text-wrap: balance;
}
.lp-hero > p {
  margin: 0 0 34px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg2);
  max-width: 600px;
}
.claim {
  width: 100%;
  max-width: 560px;
}
.claim-field {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 20px;
  padding: 10px 10px 10px 24px;
  gap: 8px;
  box-shadow: var(--lift);
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.claim-field:focus-within {
  border-color: var(--accent);
}
.claim-field label {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg3);
  cursor: text;
}
.claim-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 800;
  color: var(--fg1);
  padding: 0;
  outline: none;
}
.claim-field input::placeholder {
  color: var(--fg4);
}
.claim-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 24px;
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-pressed);
}
.claim-status.problem {
  color: #a8412c;
}

.sample-strip {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  padding: 56px 24px 0;
  height: 420px;
  overflow: hidden;
}
.mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
}
.mock.side {
  width: 250px;
  height: 380px;
  border-radius: 30px 30px 0 0;
  padding: 24px 16px;
  transform: translateY(40px);
}
.mock.side.tinted {
  background: var(--tint-10);
}
.mock.side.white {
  background: var(--surface);
}
.mock.center {
  width: 290px;
  height: 420px;
  background: var(--surface);
  border-radius: 34px 34px 0 0;
  padding: 26px 18px;
  gap: 10px;
  box-shadow: var(--float);
}
.mock .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--stripes);
}
.mock.center .avatar {
  width: 60px;
  height: 60px;
}
.mock .name {
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--fg1);
}
.mock.center .name {
  font-size: 17px;
}
.mock .row {
  background: var(--surface);
  border-radius: 12px;
  height: 38px;
}
.mock .row.tall {
  height: 110px;
}
.mock .tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock .tile {
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}
.mock .tile .ph {
  height: 80px;
}
.mock .tile div:last-child {
  padding: 6px 8px;
}
.mock .tile b {
  color: var(--accent-pressed);
}
.mock .row.bar {
  background: var(--bg);
  height: 40px;
}

.lp-section {
  padding: 80px 56px;
  max-width: 1280px;
  margin: auto;
}
.lp-section h2 {
  margin: 0 0 36px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-card h3 {
  margin: 0;
}
.feature-card p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg2);
}
.demo {
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.demo-url {
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 12px;
  font: 500 13px var(--mono);
  color: var(--fg2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-listing {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border-radius: 10px;
  padding: 8px;
}
.demo-listing .ph {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  flex: none;
}
.demo-listing div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.demo-listing strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}
.demo-listing small {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg2);
}
.demo-chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
}
.chip {
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  color: var(--fg1);
  padding: 7px 14px;
  border-radius: 9999px;
}
.chip.on {
  background: var(--accent);
  color: #fff;
}
.demo-bar {
  display: grid;
  grid-template-columns: minmax(0, 130px) 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.demo-bar > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-bar > span:last-child {
  text-align: right;
}
.demo-bar i {
  display: block;
  height: 10px;
  border-radius: 9999px;
  background: var(--accent);
}
.demo-actions {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 18px;
}
.demo-actions .solid {
  flex: 1;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
}
.demo-actions .soft {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--tint-15);
  color: var(--accent-pressed);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.lp-band {
  background: var(--surface);
}
.lp-compare {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}
.lp-compare h2 {
  margin: 0 0 14px;
  font-size: 40px;
}
.lp-compare p {
  margin: 0;
  font-size: 17px;
  color: var(--fg2);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  border-radius: 20px;
  background: var(--bg);
  overflow: hidden;
}
.compare th,
.compare td {
  padding: 16px 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid var(--tint-12);
}
.compare thead td,
.compare thead th {
  border-top: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.compare thead th:last-child {
  color: var(--accent-pressed);
}
.compare th[scope="row"] {
  text-align: left;
  color: var(--fg1);
}
.compare td:nth-child(2) {
  color: var(--fg2);
  width: 170px;
}
.compare td:nth-child(3) {
  width: 170px;
  color: var(--accent-pressed);
  font-weight: 800;
}
.compare td svg {
  display: block;
  margin: auto;
}

.lp-import {
  background: var(--tint-10);
  border-radius: 28px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: 40px;
  align-items: center;
}
.lp-import h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
.lp-import p {
  margin: 0;
  font-size: 17px;
  color: var(--fg2);
}
.import-field {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 16px;
  padding: 8px 8px 8px 18px;
  gap: 8px;
  border: 2px solid transparent;
}
.import-field:focus-within {
  border-color: var(--accent);
}
.import-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font: 600 16px var(--mono);
  color: var(--fg1);
  padding: 0;
}
.import-field input::placeholder {
  color: var(--fg3);
}
.import-field .button {
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 12px;
}
.import-note {
  margin: 10px 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg2);
}

/* Directory, legal, errors */
.page-main {
  max-width: 1280px;
  margin: 40px auto 64px;
  padding: 0 56px;
}
.page-main h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.2px;
}
.page-main > p {
  font-size: 18px;
  color: var(--fg2);
  max-width: 560px;
  margin-bottom: 36px;
}
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.artist-card {
  border-radius: 20px;
  background: var(--surface);
  padding: 24px;
  text-decoration: none;
  display: block;
  color: var(--fg1);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.artist-card:hover {
  color: var(--fg1);
  opacity: 0.92;
}
.artist-card:active {
  transform: scale(0.97);
}
.artist-card img,
.artist-initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--stripes);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-pressed);
  margin-bottom: 16px;
}
.artist-card h2 {
  font-size: 21px;
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}
.artist-card p {
  font-size: 14px;
  color: var(--fg2);
  margin-bottom: 8px;
}
.artist-tags {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-pressed);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  font-weight: 700;
  color: var(--fg2);
}
.empty-state {
  padding: 56px 24px;
  background: var(--surface);
  border-radius: 20px;
  text-align: center;
  color: var(--fg2);
}
.empty-state h2 {
  font-size: 28px;
}
.legal {
  max-width: 720px;
  margin: 40px auto 64px;
  padding: 0 24px;
}
.legal h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
}
.legal h2 {
  font-size: 24px;
  letter-spacing: -0.3px;
  margin-top: 36px;
}
.legal p {
  color: var(--fg2);
}
.error-boundary {
  max-width: 600px;
  margin: 100px auto;
  padding: 20px;
  text-align: center;
}
.error-boundary h1 {
  font-size: 38px;
}
.error-boundary p {
  color: var(--fg2);
}

/* Sign in: split screen on desktop, single column on phones */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}
.auth-panel {
  background: var(--accent);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}
.auth-panel .brand,
.auth-panel .brand em {
  color: #fff;
}
.auth-panel-symbol {
  position: absolute;
  left: 50%;
  top: 43%;
  width: min(240px, 42%);
  height: auto;
  transform: translate(-50%, -58%);
  opacity: 0.9;
  pointer-events: none;
}
.auth-panel-copy {
  position: relative;
}
.auth-panel-copy h2 {
  margin: 0;
  max-width: 420px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
}
.auth-panel-copy p {
  margin: 12px 0 0;
  font-size: 16px;
  max-width: 420px;
}
.auth-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-column {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}
.auth-column h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.auth-column > p {
  margin: 0 0 30px;
  font-size: 17px;
  color: var(--fg2);
}
.auth-mobile-brand {
  display: none;
}
.auth-mobile-hero {
  display: none;
}
.auth-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 17px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.auth-continue:hover {
  opacity: 0.9;
}
.auth-continue:active {
  transform: scale(0.95);
  opacity: 0.8;
}
.auth-continue img {
  width: 26px;
  height: auto;
}
.info-card {
  margin-top: 22px;
  background: var(--surface);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg2);
}
.info-card svg {
  flex: none;
  margin-top: 2px;
}
.info-card b {
  color: var(--fg1);
}
.auth-mobile-note {
  display: none;
}
.auth-fine {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--fg2);
}
.auth-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 18px -8px;
  padding: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg2);
  background: transparent;
  border: 0;
}
.auth-back:hover {
  color: var(--fg1);
}
.auth-main {
  max-width: 430px;
  margin: 45px auto;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
}
.auth-main h1 {
  font-size: 32px;
}
.auth-main p {
  color: var(--fg2);
}
.auth-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--surface);
  color: var(--fg1);
  border: 0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.auth-provider-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
@media (min-width: 769px) and (max-height: 820px) {
  .auth-panel { padding: 32px; }
  .auth-panel-copy h2 { font-size: 28px; }
  .auth-side { padding: 24px; }
  .auth-column h1 { font-size: 34px; }
  .auth-column > p { margin-bottom: 20px; font-size: 16px; }
  .auth-column .auth-fine { margin-top: 16px; font-size: 13px; }
}
.auth-provider:hover:not(:disabled) {
  opacity: 0.9;
}
.auth-provider:active:not(:disabled) {
  transform: scale(0.95);
  opacity: 0.8;
}
.divider {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--fg2);
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0;
}
.divider:before,
.divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tint-25);
}
.error {
  font-size: 14px;
  font-weight: 600;
  color: #8f3220;
  background: rgba(200, 85, 61, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
}
.notice {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-pressed);
  background: var(--tint-10);
  border-radius: 12px;
  padding: 12px 14px;
}

/* Forms (sign in and editor) */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg1);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg1);
  font-weight: 500;
}
.auth-column .form-row input {
  background: var(--surface);
}
.form-row input:focus-visible,
.form-row textarea:focus-visible,
.form-row select:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.form-row small {
  font-size: 12px;
  color: var(--fg2);
  font-weight: 500;
}
.small-help {
  font-size: 13px;
  color: var(--fg2);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 10px 0;
}
.check-row input,
.tags input {
  accent-color: var(--accent);
}
.username-field {
  display: flex;
  align-items: center;
  gap: 4px;
}
.username-field span {
  white-space: nowrap;
  font-weight: 700;
  color: var(--fg3);
}

/* Editor */
.editor-header {
  padding: 14px 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--tint-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.editor-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.save-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg2);
}
.editor-body {
  max-width: 1260px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 420px);
  gap: 70px;
  padding: 35px 30px;
}
.editor-panel {
  min-width: 0;
}
.editor-tabs {
  display: flex;
  background: var(--tint-12);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 28px;
  gap: 2px;
}
.editor-tabs button {
  flex: 1;
  background: none;
  border: 0;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg2);
}
.editor-tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--fg1);
  font-weight: 800;
}
.editor-preview {
  position: sticky;
  top: 90px;
  align-self: start;
  text-align: center;
}
.editor-preview iframe {
  width: 100%;
  height: 690px;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--float);
}
.editor-preview .note {
  font-size: 13px;
  color: var(--fg2);
}
.panel-section {
  border-radius: 20px;
  background: var(--surface);
  padding: 24px;
  margin-bottom: 16px;
}
.panel-section h2 {
  font-size: 22px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.panel-section > p {
  font-size: 14px;
  color: var(--fg2);
  margin-bottom: 20px;
}
.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.block-editor {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  margin-top: 12px;
}
.panel-section .button.secondary,
.metric-table .button.secondary {
  background: var(--bg);
}
.block-editor .form-row input,
.block-editor .form-row textarea,
.block-editor .form-row select {
  background: var(--surface);
}
.block-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 700;
}
.block-tools {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-button {
  background: var(--surface);
  color: var(--fg1);
  border: 0;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}
.icon-button:hover:not(:disabled) {
  background: var(--tint-10);
}
.add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.image-preview {
  width: 90px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  margin: 8px 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags label {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  background: var(--bg);
  border-radius: 9999px;
  cursor: pointer;
}
details > summary {
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  padding: 8px 0;
}
details[open] > summary {
  margin-bottom: 15px;
}
.theme-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.theme-editor {
  grid-template-columns: repeat(3, 1fr);
}
.theme-swatch {
  border: 0;
  padding: 22px 10px;
  border-radius: 16px;
  text-align: center;
  display: grid;
  gap: 12px;
  min-height: 124px;
  font-size: 13px;
  font-weight: 700;
}
.theme-swatch span {
  height: 9px;
  width: 75%;
  display: block;
  margin: auto;
  border-radius: 6px;
}
.theme-swatch.active {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.insights-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.insights-heading h2 {
  font-size: 28px;
  margin: 0;
}
.insights-heading select {
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--bg);
  font-weight: 700;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.metric {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--tint-12);
}
.metric span {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg2);
}
.metric strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  margin-top: 4px;
}
.metric-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}
.metric-table td,
.metric-table th {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--tint-12);
}
.metric-table td:last-child,
.metric-table th:last-child {
  text-align: right;
}
.traffic-chart {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 130px;
  margin: 24px 0 10px;
}
.traffic-chart .bar {
  flex: 1;
  background: var(--accent);
  min-height: 2px;
  border-radius: 4px 4px 0 0;
}
.media-library {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.media-library > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.editor-mobile-toggle {
  display: none;
}

@media (max-width: 1000px) {
  .lp-compare {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lp-import {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 850px) {
  .site-header {
    padding: 18px 24px;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-footer {
    padding: 0 24px 28px;
  }
  .lp-hero {
    padding: 36px 24px 0;
  }
  .sample-strip {
    height: 352px;
    padding-top: 32px;
  }
  .mock.center {
    height: 320px;
  }
  .mock.side {
    display: none;
  }
  .lp-section {
    padding: 56px 24px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .lp-import {
    padding: 32px 24px;
  }
  .page-main {
    padding: 0 24px;
  }
  .artist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-split {
    grid-template-columns: 1fr;
  }
  .auth-panel {
    display: none;
  }
  .auth-side {
    padding: 24px;
    align-items: stretch;
  }
  .auth-column {
    max-width: 440px;
    margin: 0 auto;
    min-height: calc(100dvh - 48px);
  }
  .auth-mobile-brand {
    display: flex;
    margin-bottom: 8px;
  }
  .info-card {
    display: none;
  }
  .auth-mobile-note {
    display: block;
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
  }
  .auth-fine {
    margin-top: 14px;
    text-align: center;
  }
  .auth-desktop-title {
    display: none;
  }
  .auth-mobile-hero {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .auth-mobile-hero .tile {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    background: linear-gradient(
      180deg,
      rgba(105, 122, 51, 0.18),
      rgba(105, 122, 51, 0.04)
    );
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .auth-mobile-hero .tile img {
    width: 110px;
    height: auto;
  }
  .auth-mobile-hero h1 {
    margin: 28px 0 10px;
    font-size: 32px;
  }
  .auth-mobile-hero p {
    margin: 0;
    max-width: 300px;
    font-size: 17px;
    color: var(--fg2);
  }
  .auth-column.methods .auth-mobile-hero {
    display: none;
  }
  .editor-body {
    gap: 25px;
    padding: 25px 20px;
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .editor-header {
    padding: 12px 16px;
  }
  .editor-header .brand {
    font-size: 19px;
  }
  .editor-actions {
    gap: 8px;
  }
  .editor-actions .save-status {
    display: none;
  }
}
@media (max-width: 650px) {
  .site-header nav {
    gap: 16px;
  }
  .claim-field {
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }
  .claim-field label {
    flex-basis: 100%;
    padding: 8px 8px 0;
    font-size: 20px;
  }
  .claim-field input {
    font-size: 20px;
  }
  .claim-field .button {
    width: 100%;
  }
  .feature-card {
    padding: 22px;
  }
  .compare th,
  .compare td {
    padding: 14px 10px;
    font-size: 14px;
  }
  .compare td:nth-child(2),
  .compare td:nth-child(3) {
    width: 76px;
  }
  .compare thead th {
    font-size: 10px;
    letter-spacing: 0.04em;
    white-space: normal;
    padding-left: 6px;
    padding-right: 6px;
  }
  .compare th[scope="row"] {
    font-size: 15px;
  }
  .demo-actions {
    flex-wrap: wrap;
  }
  .demo-actions .solid {
    flex-basis: 100%;
  }
  .demo-actions .soft {
    flex: 1;
    justify-content: center;
  }
  .import-field {
    flex-wrap: wrap;
    padding: 8px;
  }
  .import-field input {
    flex-basis: 100%;
    padding: 8px 10px;
  }
  .import-field .button {
    width: 100%;
  }
  .artist-grid {
    grid-template-columns: 1fr;
  }
  .editor-body {
    display: block;
  }
  .editor-preview {
    display: none;
    position: static;
    max-width: 380px;
    margin: auto;
  }
  .editor-preview.mobile-open {
    display: block;
  }
  .editor-panel.mobile-hidden {
    display: none;
  }
  .editor-mobile-toggle {
    display: inline-flex;
  }
  .inline-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editor-header .button {
    padding: 9px 14px;
  }
  .editor-header .editor-home {
    display: none;
  }
  .panel-section {
    padding: 20px;
  }
  .theme-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .auth-main {
    margin: 25px 16px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 13px;
  }
  .metric strong {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .site-header nav .explore-nav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Linktree review stays inside the existing content editor. */
.link-importer { margin: 12px 0; padding: 0; border: 0; }
.link-importer summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--fg2); }
.import-review { display: grid; gap: 1rem; margin-top: 1rem; }
.import-review-row { padding: .8rem 0; border-bottom: 1px solid var(--tint-25); }
.import-review-row > a { display: block; overflow-wrap: anywhere; font-size: .85rem; }
.import-select { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.import-select input { width: auto; }

.profile-photo-control {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}
.profile-photo-circle {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tint-10);
  color: var(--accent);
}
.profile-photo-circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
.profile-photo-edit:disabled { opacity: 0.6; cursor: wait; }

.page-qr { display: block; width: 168px; height: 168px; margin: 0 0 18px; border-radius: 12px; }
